package com.dearbinge.data.pojo.comment;


import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 评论实体类
 *
 * @author wes
 * @date 2019/1/3
 */
@Api("评论实体类")
@TableName("message_comment")
public class MessageComment implements Serializable {

    /**
     * 评论ID
     */
    @ApiModelProperty(value = "评论id",required = true)
    private Integer commentId;

    /**
     * 该评论用户ID
     */
    @ApiModelProperty(value = "该评论用户ID 必传",required = true)
    private String userId;

    /**
     * 回复评论ID
     */
    @ApiModelProperty(value = "回复评论ID")
    private String replyId;

    /**
     * 实体ID（对应的信息表ID）
     */
    @ApiModelProperty(value = "实体ID（对应的信息表ID）必传",required = true)
    private String entityId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",required = true)
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间",required = true)
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String modifyBy;

    /**
     * 是否删除（0：否  1：是）
     */
    @ApiModelProperty(value = "是否删除（0：否  1：是）")
    private Boolean isDeleted;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容 必传",required = true)
    private String content;

    /**
     * 类型（1：生活  2：商品  3：秀场）
     */
    @ApiModelProperty(value = "类型（1：生活  2：商品  3：秀场）必传",required = true)
    private Integer replyType;


    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId == null ? null : replyId.trim();
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId == null ? null : entityId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }


    public Integer getReplyType() {
        return replyType;
    }

    public void setReplyType(Integer replyType) {
        this.replyType = replyType;
    }
}